package com.example.springboot_app.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import com.example.springboot_app.pojo.MyPosts;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author svblack
 * @since 2024-09-19
 */
public interface MyPostsDao extends BaseMapper<MyPosts> {
    List<MyPosts> getAllPostsWithDetails();

    MyPosts getById(Integer id);
}
